package com.ruoyi.work.mapper;

import com.ruoyi.work.domain.WorkFill;
import com.ruoyi.work.domain.vo.WorkFillDetailVo;
import com.ruoyi.work.domain.vo.WorkFillProjectReport;
import com.ruoyi.work.domain.vo.WorkFillReport;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: MMDZ
 * @Desc:
 */
public interface WorkFillMapper {
    List<WorkFill> initWorkFill(Long userId);
    int insertWorkFill(WorkFill workFill);

    List<WorkFillReport> initWorkFillReport(WorkFillReport report);
    List<WorkFillProjectReport> initWorkFillProjectReport(WorkFillProjectReport report);
    List<WorkFillDetailVo> selectSumTimeByFillAndUserId(@Param("userId") Long userId, @Param("fillTimeStr") String fillTimeStr);

    List<WorkFill> selectFillForRollBackList(WorkFill workFill);

    WorkFill selectWorkFillById(Long fillId);
    List<WorkFill> checkFillVerifyTime(WorkFill workFill);
    int updateBackWorkFill(WorkFill workFill);
    int deleteWorkFillById(Long fillId);
}
